package Lirmm.DataStructure;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
import java.util.Vector;

public class Document {
	private List<String> terms = new ArrayList<String>(); // before pre-processing
	private String tilte;
	private List<String> Keys = new ArrayList<String> (); // after pre-processing
	
	public Document() {
		this.tilte=null;
		this.terms=null;
	}
	
	
	public void setKeys(List<String> t)
	{
		this.Keys=t;
	}
	
	public List<String> getKeys() {
		return this.Keys;		
	}
	
	public void setTerms(List<String> t)
	{
		this.terms=t;
	}
	
	public void setTitle(String t)
	{
		this.tilte=t;
	}
	public List<String> getTerms() {
		return this.terms;		
	}
	
	public String getTitle() {
		return tilte;		
	}
	
	public String toString(){
		String str="";
		str+= "\nDocument Name:"+tilte+"\n";
		for (int i = 0; i < terms.size(); i++) {
			str += terms.get(i) + "	";
		}
		str+= "\n..............................................................";
		return str;
	}
}
